Passthrough: fix iommu_use_hap_pt() to use hap_enabled()
authorTim Deegan <tim@xen.org>
Tue, 23 Aug 2011 09:54:27 +0000 (10:54 +0100)
committerTim Deegan <tim@xen.org>
Tue, 23 Aug 2011 09:54:27 +0000 (10:54 +0100)
commit91326b5491174ff4cbd36a98367b1bc7c378bd29
tree91649be908cdc81544a78c9ddc4d02e7cab13172
parentce686e3169f5e3aaee650d2120962851d351c9e7
Passthrough: fix iommu_use_hap_pt() to use hap_enabled()

In line with 22924:86000076dcee, paging_mode_hap(d) shouldn't be
used in HAP internals that are called during HAP setup.

Signed-off-by: Tim Deegan <tim@xen.org>
xen/include/xen/iommu.h